package com.ken.astroboy.model;

import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;

public class WelcomeMsgItem {

	public static final int ENABLED = 0;
	public static final int DISABLED = 1;
	
	//微信群新加入threshold数量的用户，发送该欢迎信息
	private long threshold;
	private List<String> textList;
	private List<String> imageList;
	//0-启用；1-禁用
	private int msgStatus;
	//接收消息的微信群
	private List<String> groupReceivers;
	
	public WelcomeMsgItem() {
		//采用LinkedList是为了消息发送时与加入时顺序一致
		textList = new LinkedList<String>();
		imageList = new LinkedList<String>();
		
		groupReceivers = new ArrayList<String>();
	}
	

	public long getThreshold() {
		return threshold;
	}

	public void setThreshold(long threshold) {
		this.threshold = threshold;
	}

	public List<String> getTextList() {
		return textList;
	}
	public void setTextList(List<String> textList) {
		this.textList = textList;
	}
	public List<String> getImageList() {
		return imageList;
	}
	public void setImageList(List<String> imageList) {
		this.imageList = imageList;
	}
	public int getMsgStatus() {
		return msgStatus;
	}
	public void setMsgStatus(int msgStatus) {
		this.msgStatus = msgStatus;
	}

	public List<String> getGroupReceivers() {
		return groupReceivers;
	}

	public void setGroupReceivers(List<String> groupReceivers) {
		this.groupReceivers = groupReceivers;
	}


	public static int getEnabled() {
		return ENABLED;
	}


	public static int getDisabled() {
		return DISABLED;
	}	
}
